Package com.cisco.pt.ipc.sim
Interface FileSystem
- All Known Implementing Classes:
FileSystemImpl
Information provided by the PKI file:
\class FileSystem
\brief FileSystem holds and manipulates the file system on routers and switches.
\example network().getDevice("Router0").getProcess("FileManager").getFileSystem("flash:")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:intgetSize()Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.sim.Directory
addDirectory, addHttpPage, addTextFile, fileExist, getFile, getFileAt, getFileCount, getSpaceUsed, removeAllFiles, removeFile, renameFileMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.SimFile
getAbsPath, getContent, getName, getParent, getPermission, isDirectory, isExecutable, isReadable, isWritable, setTextContent
-
Method Details
-
getSize
int getSize()Information provided by the PKI file:
\brief Returns the size of the file system. \return int, the size of the file system. -
getCapacity
int getCapacity()Information provided by the PKI file:
\brief Returns the capacity of the file system. \return int, the capacity of the file system.- Returns:
- int Returns a int
-
getSpaceFree
int getSpaceFree()Information provided by the PKI file:
\brief Returns the amount of free space on the file system. \return int, the amount of free space on the file system.- Returns:
- int Returns a int
-